#include "EpollServer.hpp"

int main(int argc,char* argv[])
{
    if (argc != 2)
    {
        std::cout << "Use selectserver + port!" << std::endl;
        return 1;
    }
    uint16_t port = std::stoi(argv[1]);
    std::shared_ptr<EpollServer> ssvr = std::make_shared<EpollServer>(port);
    ssvr->Init();
    ssvr->Loop();
    return 0;
}